package com.joysuch.wwyt.risk.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;

import java.io.Serializable;
import java.time.LocalDateTime;

import com.joysuch.wwyt.common.entity.UserDataEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Builder;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 *
 * </p>
 *
 * @author zqw
 * @since 2022-04-15
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("wwyt_risk_dynamic_record")
@ApiModel(value = "RiskDynamicRecord对象", description = "")
public class RiskDynamicRecord extends UserDataEntity implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "风险区域id")
    private Long riskDistrictId;

    @ApiModelProperty(value = "类型:0危险源报警 1流程任务 ")
    private Integer riskType;

    @ApiModelProperty(value = "流程任务编码")
    private String taskCode;

    @ApiModelProperty(value = "任务节点")
    private String taskNode;

    @ApiModelProperty(value = "动态配置表信息id")
    private Long dynamicConfigId;

    @ApiModelProperty(value = "配置表分数")
    private Double score;

    @ApiModelProperty(value = "是否参与动态计算:0参与 1不参与")
    private Integer status;

}
